Hi all,
I am having weird issue and I don't know if this is some kind of new feature or bug.
We use own web server and our self made erp system which runs using php and m… (lue lisää)
Hi all,
I am having weird issue and I don't know if this is some kind of new feature or bug.
We use own web server and our self made erp system which runs using php and mysql.
We have web forms that contains customer and product information. We can print those forms and they are slight different designed for viewing and for printing.
Now, after updating to 150.0 Firefox, some text boxes does not show content in print preview or printing.
If, for example, I have text box in form, that has customer name inside, print preview shows text box but not customer name inside it.
This seems to happen only if there is "media print" css rules applied.
We have those rules in css file:
"
@media print
.no-print, .no-print *
{
display: none !important;
}
.only-print, .only-print *
{
display:enabled !important;
}
"
Now, if web page uses "only-print" div, firefox prints text and other objects ok, but not content of text boxes.
Something has been changes as this has been working so far many years, and also works with other browsers.
I have no clue why content is not printing. If there is no "only-print" div, everything prints ok.
Our forms include a lot of this kind of formatting, so it is almost impossible to recode all.
This is example how text box is coded in php:
"
echo "
Customer number: <input type=\"text\" size=\"7\" name=\"id\" value=\"$cust_num\" >
";
"
In this case above text "Customer number:" prints ok and also input box but variable $cust_num inside it does not. It does not matter if I put plain text in place of variable. So input text box content basically is not printing.
I have tried resetting firefox, running it in safe mode and in private window. Nothing helps.
Tried android firefox also and it has same behavior. Versions before 150 works ok.
Can somebody light me up what has changed?